package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 资产卡片变更对象 erp_assets_change_info
 * @author cxl
 * @date 2024-09-29
 */
@TableName ("erp_assets_change_info")
@ApiModel (value = "资产卡片变更", description = "资产卡片变更")
@Data
@Accessors(chain = true)
public class AssetsChangeEntity {

    /** 主键id */
    @TableId (type = IdType.INPUT)
    private String id;

    /** 资产卡片id */
    @ApiModelProperty ("资产卡片id")
    @TableField ("assets_id")
    @Excel (name = "资产卡片id")
    private String assetsId;

    /** 单据编号 */
    @ApiModelProperty ("单据编号")
    @TableField ("doc_code")
    @Excel (name = "单据编号")
    private String docCode;

    /** 卡片编码 */
    @ApiModelProperty ("卡片编码")
    @TableField ("card_code")
    @Excel (name = "卡片编码")
    private String cardCode;

    /** 资产组织 */
    @ApiModelProperty ("资产组织")
    @TableField ("assets_org")
    @Excel (name = "资产组织")
    private String assetsOrg;

    /** 货主组织 */
    @ApiModelProperty ("货主组织")
    @TableField ("cargo_owner_org")
    @Excel (name = "货主组织")
    private String cargoOwnerOrg;

    /** 资产名称 */
    @ApiModelProperty ("资产名称")
    @TableField ("assets_name")
    @Excel (name = "资产名称")
    private String assetsName;

    /** 变更内容 */
    @ApiModelProperty ("变更内容")
    @TableField ("change_data")
    @Excel (name = "变更内容")
    private String changeData;

    /** 变更前内容 */
    @ApiModelProperty ("变更前内容")
    @TableField ("before_change_data")
    @Excel (name = "变更前内容")
    private String beforeChangeData;

    /** 变更后内容 */
    @ApiModelProperty ("变更后内容")
    @TableField ("after_change_data")
    @Excel (name = "变更后内容")
    private String afterChangeData;

    /** 创建部门 */
    @ApiModelProperty ("创建部门")
    @TableField ("create_dept")
    @Excel (name = "创建部门")
    private String createDept;

    /** 是否可用 */
    @ApiModelProperty ("是否可用")
    @TableField ("is_used")
    @Excel (name = "是否可用")
    private Integer isUsed;

    /** 创建人 */
    @ApiModelProperty ("创建人")
    @TableField ("create_by")
    @Excel (name = "创建人")
    private String createBy;

    /** 创建时间 */
    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel (name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 修改人 */
    @ApiModelProperty ("修改人")
    @TableField ("update_by")
    @Excel (name = "修改人")
    private String updateBy;

    /** 修改时间 */
    @ApiModelProperty ("修改时间")
    @TableField ("update_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;


}
